package com.dxx.cloud.admin.module.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

@Schema(description = "条形码商品修改请求体")
public class GoodsScanChangedUpdateRequest {

    @Schema(description="id",example="1")
    @NotNull
    private Integer id;

    @Schema(description="商户id",example="1")
    private Long merId;

    @Schema(description="门店id",example="1")
    private Long shopId;

    @Schema(description = "条形码", example = "1")
    private String barCode;

    @Schema(description="商品名称",example="1")
    private String goodsName;

    @Schema(description="成本价",example="1")
    private BigDecimal buyPrice;

    @Schema(description="售价",example="1")
    private BigDecimal unitPrice;

    @Schema(description="净重",example="1")
    private BigDecimal netWeight;

    @Schema(description="数量",example="1")
    private BigDecimal number;

    @Schema(description="商标",example="1")
    private String brand;

    @Schema(description="供应商名称",example="1")
    private String supplyName;

    @Schema(description="规格")
    private String standard;

    @Schema(description="状态：1有效, -1 无效",example="1")
    private Integer status;

    @Schema(description="修改者",example="1")
    private String updater;

    @Schema(description="操作者",example="1")
    private String operator;

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(BigDecimal buyPrice) {
        this.buyPrice = buyPrice;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSupplyName() {
        return supplyName;
    }

    public void setSupplyName(String supplyName) {
        this.supplyName = supplyName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }
}